﻿

using Ccteg.Common;
using Ccteg.Common.QueryModels.DncPermission;

using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Reflection;

namespace Ccteg.DB
{
    /// <summary>
    /// 
    /// </summary>
    public class MySqlDbContext_SFM : DbContext
    {


        /// <summary>
        /// 
        /// </summary>
        /// <param name="options"></param>
        public MySqlDbContext_SFM(DbContextOptions<MySqlDbContext_SFM> options) : base(options)
        {

        }
      
        public DbSet<sfm_job> sfm_job { get; set; }

        
        protected override void OnModelCreating(ModelBuilder modelBuilder)
        { 
              modelBuilder.ApplyConfigurationsFromAssembly(Assembly.GetExecutingAssembly());
            base.OnModelCreating(modelBuilder);

        }
    }
}



 